#ifndef __AiMgr_H__
#define __AiMgr_H__
#include <string>
#include <map>
#include <functional>
#include "AiBase.h"
#include "Enemy.h"
using namespace std;
class CAiMgr 
{
public:
	static CAiMgr* getInstance();
	~CAiMgr();
	void addAi(string aiSort, CAiBase* ai);
	function<void(void)> getAi(CEnemy* enemy,string sort);
private:
	static CAiMgr* _instance;
	CAiMgr();
	map<string, CAiBase*> m_mapAi;
};
#endif
